import { default as request, cloud } from '@/framework/utils/request'

// 加解密分页查询
export function encDecPage(params) {
  return request({
    url: cloud.interfacePlatform + '/interfaceEncryptDecryptInfo/page',
    method: 'get',
    params
  })
}

// 加解密新增
export function encDecAdd(query) {
  return request({
    url: cloud.interfacePlatform + '/interfaceEncryptDecryptInfo/add',
    method: 'post',
    params: query
  })
}

// 加解密详情
export function encDecDetail(params) {
  return request({
    url: cloud.interfacePlatform + `/interfaceEncryptDecryptInfo/detail`,
    method: 'get',
    params
  })
}
